package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "option")
public class Option implements Serializable {

    private String id; //主键id
    private String optionNo; //选项id
    private String option; //选项内容
    private String questionId; //选项所属的问题id
    private int score; //选项的分值 选项内容
}
